package com.zh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zh.domain.dto.project.*;
import com.zh.domain.entity.Project;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zh.domain.vo.project.ProjectVo;
import com.zh.domain.vo.task.TaskCountVo;

import java.util.List;

/**
* @author Administrator
* @description 针对表【projects(项目表)】的数据库操作Service
* @createDate 2025-02-09 16:24:10
*/
public interface ProjectService extends IService<Project> {

    Integer addProject(AddProjectRequest addProjectRequest);

    Boolean updateProject(UpdateProjectRequest updateProjectRequest);

    Page<ProjectVo> pageProject(PageProjectRequest pageProjectRequest);

    List<ProjectVo> listMyTeamProject(Integer teamId, int loginId);

    boolean removeUserByProIdAndUserIdList(RemoveMembersRequest removeMembersRequest);

    boolean addMembers(AddMembersRequest addMembersRequest);



    ProjectVo getProject(Integer id) ;

    void updateProcessById(Integer proId);

    TaskCountVo getTaskCount(Integer proId);
}
